package com.example.qxfw.ybzz.service.impl;

import com.example.qxfw.common.entity.qx.TownshipStation;
import com.example.qxfw.ybzz.service.TownshipStationService;
import com.example.qxfw.ybzz.service.YbzzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class YbzzServiceImpl implements YbzzService {

    @Autowired
    private TownshipStationService townshipStationService;

    @Value("${city}")
    private String city;

    @Override
    public String ybzz() {
        //获取乡镇站点
        List<TownshipStation> townshipStations = townshipStationService.getList2(city);
        //查询预报站点关联信息表
//        List<YbzzStationConfig>

        return null;
    }
}
